Measurement of physical activity